package com.chang.bootplus.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "购物车修改", description = "")
public class ShopCartListPO {

    @ApiModelProperty("购物车内容id")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("商品id")
    private Long proId;

    @ApiModelProperty("商品个数")
    private Integer count;

    @ApiModelProperty("商品总价")
    private BigDecimal amount;

}